﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020013B9 RID: 5049
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TextJoinBatchSaveScRsp : IMessage<TextJoinBatchSaveScRsp>, IMessage, IEquatable<TextJoinBatchSaveScRsp>, IDeepCloneable<TextJoinBatchSaveScRsp>, IBufferMessage
	{
		// Token: 0x17003FA7 RID: 16295
		// (get) Token: 0x0600E21D RID: 57885 RVA: 0x0025C5CD File Offset: 0x0025A7CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TextJoinBatchSaveScRsp> Parser
		{
			get
			{
				return TextJoinBatchSaveScRsp._parser;
			}
		}

		// Token: 0x17003FA8 RID: 16296
		// (get) Token: 0x0600E21E RID: 57886 RVA: 0x0025C5D4 File Offset: 0x0025A7D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TextJoinBatchSaveScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003FA9 RID: 16297
		// (get) Token: 0x0600E21F RID: 57887 RVA: 0x0025C5E6 File Offset: 0x0025A7E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TextJoinBatchSaveScRsp.Descriptor;
			}
		}

		// Token: 0x0600E220 RID: 57888 RVA: 0x0025C5ED File Offset: 0x0025A7ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TextJoinBatchSaveScRsp()
		{
		}

		// Token: 0x0600E221 RID: 57889 RVA: 0x0025C600 File Offset: 0x0025A800
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TextJoinBatchSaveScRsp(TextJoinBatchSaveScRsp other) : this()
		{
			this.textJoinList_ = other.textJoinList_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E222 RID: 57890 RVA: 0x0025C636 File Offset: 0x0025A836
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TextJoinBatchSaveScRsp Clone()
		{
			return new TextJoinBatchSaveScRsp(this);
		}

		// Token: 0x17003FAA RID: 16298
		// (get) Token: 0x0600E223 RID: 57891 RVA: 0x0025C63E File Offset: 0x0025A83E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<TextJoinInfo> TextJoinList
		{
			get
			{
				return this.textJoinList_;
			}
		}

		// Token: 0x17003FAB RID: 16299
		// (get) Token: 0x0600E224 RID: 57892 RVA: 0x0025C646 File Offset: 0x0025A846
		// (set) Token: 0x0600E225 RID: 57893 RVA: 0x0025C64E File Offset: 0x0025A84E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600E226 RID: 57894 RVA: 0x0025C657 File Offset: 0x0025A857
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TextJoinBatchSaveScRsp);
		}

		// Token: 0x0600E227 RID: 57895 RVA: 0x0025C668 File Offset: 0x0025A868
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TextJoinBatchSaveScRsp other)
		{
			return other != null && (other == this || (this.textJoinList_.Equals(other.textJoinList_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E228 RID: 57896 RVA: 0x0025C6B8 File Offset: 0x0025A8B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.textJoinList_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E229 RID: 57897 RVA: 0x0025C705 File Offset: 0x0025A905
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E22A RID: 57898 RVA: 0x0025C70D File Offset: 0x0025A90D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E22B RID: 57899 RVA: 0x0025C718 File Offset: 0x0025A918
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.textJoinList_.WriteTo(ref output, TextJoinBatchSaveScRsp._repeated_textJoinList_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E22C RID: 57900 RVA: 0x0025C768 File Offset: 0x0025A968
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.textJoinList_.CalculateSize(TextJoinBatchSaveScRsp._repeated_textJoinList_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E22D RID: 57901 RVA: 0x0025C7BC File Offset: 0x0025A9BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TextJoinBatchSaveScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.textJoinList_.Add(other.textJoinList_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E22E RID: 57902 RVA: 0x0025C809 File Offset: 0x0025AA09
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E22F RID: 57903 RVA: 0x0025C814 File Offset: 0x0025AA14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 80U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.textJoinList_.AddEntriesFrom(ref input, TextJoinBatchSaveScRsp._repeated_textJoinList_codec);
				}
			}
		}

		// Token: 0x04005975 RID: 22901
		private static readonly MessageParser<TextJoinBatchSaveScRsp> _parser = new MessageParser<TextJoinBatchSaveScRsp>(() => new TextJoinBatchSaveScRsp());

		// Token: 0x04005976 RID: 22902
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005977 RID: 22903
		public const int TextJoinListFieldNumber = 1;

		// Token: 0x04005978 RID: 22904
		private static readonly FieldCodec<TextJoinInfo> _repeated_textJoinList_codec = FieldCodec.ForMessage<TextJoinInfo>(10U, TextJoinInfo.Parser);

		// Token: 0x04005979 RID: 22905
		private readonly RepeatedField<TextJoinInfo> textJoinList_ = new RepeatedField<TextJoinInfo>();

		// Token: 0x0400597A RID: 22906
		public const int RetcodeFieldNumber = 10;

		// Token: 0x0400597B RID: 22907
		private uint retcode_;
	}
}
